<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>

    <style>
      .button {
        height: 50px;
        width: 600px;
        background-color: rgb(0, 225, 255);
        /* 去除span“ ”格式 */
        font-size: 0px;
        text-align: center;
        line-height: 50px;
        .current {
          background-color: red;
        }
      }

      .button span {
        display: inline-block;
        height: 10px;
        width: 10px;
        vertical-align: middle;
        background-color: aliceblue;
        border-radius: 50%;
        margin: 0 2px;
      }
    </style>
  </head>
  <body>
    <div class="button">
      <span class="current"></span><span></span><span></span><span></span
      ><span></span>
    </div>
  </body>
</html>
